{% extends '@SyliusAdmin/shared/form_theme.html.twig' %}

{% block _sylius_admin_product_review_rating_widget %}
    <div class="sylius-rating">
        {% for entry in form.children %}
            <label>
                <input type="radio" value="{{ entry.vars.value }}" id="{{ entry.vars.id }}" name="{{ entry.vars.full_name }}" {{ sylius_test_html_attribute('rating', entry.vars.value) }} {{ entry.vars.checked ? 'checked' }}>
                {{ ux_icon('tabler:star-filled') }}
            </label>
        {% endfor %}
    </div>
{% endblock %}
